package com.example.aoptest.controller;


import com.example.aoptest.anno.SysLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AopController {

    @SysLog("testhere 啦啦啦")
    @GetMapping("/test")
    public String test(@RequestParam("name") String name){
        System.out.println("name -------- " + name);
        return name;
    }

}
